package com.afkt.project.util;

import ohos.aafwk.content.Intent;
import ohos.aafwk.content.Operation;
import ohos.utils.IntentConstants;

public class HomeUtils {
    public static Intent backDesktop() {
        Intent intent = new Intent();
        Operation operation = (Operation) new Intent.OperationBuilder().withAction(IntentConstants.ACTION_HOME);
        intent.setOperation(operation);
        return intent;
//        Intent intent = new Intent();
//        intent.addEntity(IntentConstants.ENTITY_HOME);
//        return  intent;

    }
}